/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.semester.code.entity;

import java.util.Vector;

/**
 *
 * @author vi
 */
public class DepartmentEntity {
    private int departmentId;
    private String departmentName;
    private String description;

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    public Vector toVector(){
        Vector v = new Vector();
        v.add(getDepartmentId());
        v.add(getDepartmentName());
        v.add(getDescription());
        return v;
    }
    
}
